package com.hupu.jrs.api.login

import com.hupu.jrs.bean.CookieData
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST
import rx.Observable

/**
 * Created by Stark.Tony on 2018/3/18.
 */
interface CookieService {

    @FormUrlEncoded
    @POST("member.action")
    fun login(
            @Field("username") username: String, @Field("password") password: String): Observable<CookieData>
}
